#ifndef __TEST1_H_
#define __TEST1_H_

#define MaxNum 10
#define TURE   0
#define ERROR  1

typedef int data_type;
typedef int status;

typedef struct{
    data_type data[MaxNum];
    int last;
}sqlist;


#include <stdio.h>
#include <stdlib.h>

status ListInit(sqlist* list);
status GetElem(sqlist *list, int i, data_type *data);
status ListInsert(sqlist *list, int i, data_type data);
status ListDelete(sqlist *list, int i);
status ListFree(sqlist *list);
status ListAllprint(sqlist *L);
void test1(void);

#endif // !__TEST1_H_
